package cn.kgc.springbootdemo.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.kgc.springbootdemo.entity.Menu;

import java.util.List;

/**
 * 菜单表(Menu)表服务接口
 *
 * @author makejava
 * @since 2021-03-31 17:10:40
 */
public interface MenuService extends IService<Menu> {

    /**
     *  树状排序
     *
     * @return
     */
    List<Tree<String>> getTree();
}
